package com.cyq.day04;

public class ClassWork04 {
    public static void main(String[] args) {
        //输出100以内前5个能被7整除的数
        int count=0;
        System.out.println("前5个100内能被7整除的数为");
        for (int i =1;i<100;i++){
            if (i%7==0){
                count++;
                if (count>5){
                    break;
                }
                System.out.println(i);
            }
        }
    }
}
